package com.tiankun.eurekaadmin.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.util.Date;

/**
 * @author 伍炳清
 * @create 2020-11-18 14:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

public class Jsj {

    private Integer id;

    private String name;

    private String text;

    private Date time;
//    将时间格式处理：指定格式；设定时区
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")//CST
    private Integer guanzhu;
}
